package com.example.myproject.util.createcompany;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 创建公司时进行传输的dto
 * @author chains
 */
public class CreateCompanyDTO implements Serializable{
    @NotBlank
    @ApiModelProperty(value = "公司名称",required = true,example = "上海城市测试公司1")
    private String companyName;

    @NotBlank
    @ApiModelProperty(value = "公司城市",required = true,example = "上海")
    private String companyCity;

    @NotBlank
    @ApiModelProperty(value = "公司省份",required = true,example = "上海")
    private String companyProvince;

    @NotBlank
    @ApiModelProperty(value = "巧克力公司账户id",example = "10001")
    private String qfCrmCustomerId;

    @ApiModelProperty("加盟商类型uuid")
    private String allianceCompanyTypeUuid;

    @NotNull
    @ApiModelProperty(value = "公司状态",required = true,example ="OFFICIAL" )
    private String status;

    @NotNull
    @ApiModelProperty(value = "端口数",required = true,example = "50")
    private Integer portCount;

    @ApiModelProperty(value = "到期时间",required = true,example = "2018-12-31")
    @NotNull
    private Date endTime;

    @NotNull
    @ApiModelProperty(value = "公司用途",example = "TEST")
    private String companyUsage;

    @ApiModelProperty(value = "备注",required = true,example = "公司备注")
    private String remark;

    @NotNull
    @ApiModelProperty(value = "公司版本类型标记",example = "SAAS2")
    private String companyVersion;

    @ApiModelProperty("公司版本")
    private String saaSVersionEnum;
    @ApiModelProperty("迁移类型")
    private String migrationType;
    @ApiModelProperty("迁移描述")
    private String migrationDesc;
    @ApiModelProperty("标准楼盘数量")
    private Long estateCount;
    @ApiModelProperty("标准楼盘数量")
    private Long totalCompanyPort;

    private String allianceName;

    public String getAllianceName() {
        return allianceName;
    }

    public void setAllianceName(String allianceName) {
        this.allianceName = allianceName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyCity() {
        return companyCity;
    }

    public void setCompanyCity(String companyCity) {
        this.companyCity = companyCity;
    }

    public String getCompanyProvince() {
        return companyProvince;
    }

    public void setCompanyProvince(String companyProvince) {
        this.companyProvince = companyProvince;
    }

    public String getQfCrmCustomerId() {
        return qfCrmCustomerId;
    }

    public void setQfCrmCustomerId(String qfCrmCustomerId) {
        this.qfCrmCustomerId = qfCrmCustomerId;
    }

    public String getAllianceCompanyTypeUuid() {
        return allianceCompanyTypeUuid;
    }

    public void setAllianceCompanyTypeUuid(String allianceCompanyTypeUuid) {
        this.allianceCompanyTypeUuid = allianceCompanyTypeUuid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getPortCount() {
        return portCount;
    }

    public void setPortCount(Integer portCount) {
        this.portCount = portCount;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCompanyUsage() {
        return companyUsage;
    }

    public void setCompanyUsage(String companyUsage) {
        this.companyUsage = companyUsage;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCompanyVersion() {
        return companyVersion;
    }

    public void setCompanyVersion(String companyVersion) {
        this.companyVersion = companyVersion;
    }

    public String getSaaSVersionEnum() {
        return saaSVersionEnum;
    }

    public void setSaaSVersionEnum(String saaSVersionEnum) {
        this.saaSVersionEnum = saaSVersionEnum;
    }

    public String getMigrationType() {
        return migrationType;
    }

    public void setMigrationType(String migrationType) {
        this.migrationType = migrationType;
    }

    public String getMigrationDesc() {
        return migrationDesc;
    }

    public void setMigrationDesc(String migrationDesc) {
        this.migrationDesc = migrationDesc;
    }

    public Long getEstateCount() {
        return estateCount;
    }

    public void setEstateCount(Long estateCount) {
        this.estateCount = estateCount;
    }

    public Long getTotalCompanyPort() {
        return totalCompanyPort;
    }

    public void setTotalCompanyPort(Long totalCompanyPort) {
        this.totalCompanyPort = totalCompanyPort;
    }
}
